
<div class="modal fade " id="modal-module">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title">操作模块</h4>
            </div>
            <div class="modal-body">
                <form class="form-horizontal" role="form" id="m-form">
                    <div class="form-group">
                        <label class="col-sm-2 control-label">模块名</label>
                        <div class="col-sm-8">
                            <input type="text" name="name" id="name" class="form-control" required /></div>
                            <span class="col-sm-1 control-label" id="messages"></span>
                    </div>
                    <div class="form-group" style="margin-left:100px;">
                         <button type="submit" class="btn btn-default btn-modal-new" datadismiss="modal" id="btn-modal-module">
                    确定</button>
                <button type="button" class="btn btn-primary" data-dismiss="modal" aria-hidden="true">取消
                </button>
                    </div>
                </form>
            </div>
            <div class="modal-footer">

            </div>
        </div>
    </div>
</div>